package com.jhy.suixianglu.daima20221212;

/**
 * 构造节点
 */
public class ListNode {
    // listnode当中val值
   public int val;
   public ListNode next;

    public ListNode(int val, ListNode next) {
        this.val = val;
        this.next = next;
    }

    public ListNode() {
    }

    public ListNode(int val) {
        this.val = val;
    }
}
